﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="IpBlockConfig.aspx.cs" Inherits="Manage_System_IpBlockConfig" %>
<html>
<head>
<!--#include file="../js/html_head.inc"-->
<link rel="stylesheet" href="../Themes/<%=ManageHelper.GetTheme()%>/style.css" type="text/css" />
</head>
<body>
<%=ManageHelper.PageSucMsg()!=""?"<div class='msg_succeed'>"+ManageHelper.PageSucMsg()+"</div>":""%>
<%=ManageHelper.PageErrMsg()!=""?"<div class='msg_failed'>"+ManageHelper.PageErrMsg()+"</div>":""%>
<form id="myForm" name="myForm" method="post" action="?act=save" onsubmit="return validator(this)">
<div class="mycolumn">
    <div class="columntitle"><%=BlockModule == 0 ? "后台" : "用户"%>访问限制选项</div>
    <table width="95%" align="center" cellpadding="3" cellspacing="8">
    <tr>
        <td width="140" align="left" ><img name="help1" src="../pic/icons/help.gif" alt="访问限制选项" onclick="helpInf(this)"/> <%=BlockModule == 0 ? "后台" : "用户"%>访问限制选项：</td>
        <td align="left" class="tdradio">
            <table>
            <%
            foreach(KeRui.Model.SysConfig model in listIp)
            {
            %>
            <tr><td><input type="radio" id="IpBlockType_<%=model.Value%>" name="IpBlockType" value="<%=model.Value%>" <%=KeRui.BLL.SysConfig.GetString("WebConfig","AdminIpBlockType").ToLower()==model.Value.ToLower()?"checked":"" %> /><label for="IpBlockType_<%=model.Value%>"><%=model.Name%></label></td></tr>
            <%}
            %>
            </table>
        </td>
    </tr>
    <tr>
        <td align="center" class="tdbutton">
            <input type="submit" value="修 改" class="button" />
        </td>
    </tr>
    </table>
</div>

</form>

</body>
</html>